//
//  SecondViewController.m
//  demo2-计算器
//
//  Created by Maggie on 15/8/8.
//  Copyright (c) 2015年 fmning. All rights reserved.
//

#import "SecondViewController.h"

@interface SecondViewController ()

@end

@implementation SecondViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/
- (IBAction)gobackClicked:(UIButton *)sender {
    //返回上一个页面
    [self dismissViewControllerAnimated:YES completion:nil];
    
}

- (void)dealloc{
    //重写当前页面的dealloc，此方法在页面释放时自动调用
    NSLog(@"secondViewContrller dealloc!");
}

@end







